package com.itheima.sh.exception;

import com.itheima.sh.response.StatusCode;

public class ExceptionCast {
    //使用此静态方法抛出自定义异常
    public static void cast(StatusCode statusCode){
        throw new BusinessException(statusCode);
    }
}